package com.yjh.admin.entity.chronic;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 设备列表
 *
 * @author GuoBin
 * @date 2020-08-05 17:47:36
 */
@Data
@TableName("equipment")
@EqualsAndHashCode(callSuper = true)
public class Equipment extends Model<Equipment> {
	private static final long serialVersionUID = 1L;


	@ApiModelProperty(value = "")
	@TableId
	private Integer equipmentId;

	/**
	 * 设备名称
	 */
	@ApiModelProperty(value = "设备名称")
	private String equipmentName;

	/**
	 * 功能
	 */
	@ApiModelProperty(value = "功能")
	private String featuresName;


	@ApiModelProperty(value = "设备图标")
	private String deviceImg;

	/**
	 * 类型
	 */
	@ApiModelProperty(value = "类型")
	private String deviceType;

	/**
	 * 类型
	 */
	@ApiModelProperty(value = "标识")
	private String deviceFn;


	@TableLogic
	private String delFlag;

	/**
	 * 创建时间，默认=当前时间
	 */
	@ApiModelProperty(value = "创建时间，默认=当前时间")
	private LocalDateTime createTime;

	/**
	 *
	 */
	@ApiModelProperty(value = "")
	@TableField(fill = FieldFill.UPDATE)
	private LocalDateTime updateTime;

}
